// import Parent from "./Components/01-parent-child/Parent";
// import ClassComp from "./Components/ClassComp";
// import FuncComp from "./Components/FuncComp";
// import Index from './Components/02-if/Index'
// import Index from "./Components/03-for/Index"
// 后引入的会覆盖先引入的样式
// import Child2 from './Components/04-style/Child2'
// import Child1 from './Components/04-style/Child1'

// import Index from './Components/05-ref/Index'
// import Index from './Components/06-props-children/Index'
// import Index from './Components/07-life/Index'
// import Brother1 from './Components/08-Brother/Brother1'
// import Brother2 from './Components/08-Brother/Brother2'
// import Index from './Components/09-context/Index'
// import Index from './Components/10-render-props/Index'
// import Index from './Components/12-hook/Index'
// import Index from './Components/11-hoc/Index'
// import Index from './Components/12-hook/05-UseContextDemo/Index'
// import UseRefDemo from './Components/12-hook/06-UseRefDemo/index'
// import UseTransition from './Components/12-hook/07-otherHook/useTransitionDemo.jsx'
// import UseDeferredValue from './Components/12-hook/07-otherHook/useDeferredValue.jsx'
// import Index from './Components/12-hook/03-自定义hook/Index'

// import Index from './pages/router-base-v5/Index'

// import Index from './pages/router-base-v5/Index'
// import Index from './pages/router-v5-nest/Index'
// import Index from './pages/router-/base-v6/Index'
import { RouterProvider } from 'react-router-dom'
import router from './router'
function App () {
  // return (
  //   <div>
  //     {/* <h2>Class组件</h2> */}
  //     {/* <ClassComp/> */}
  //     {/* <FuncComp/>  */}
  //     {/* <Parent/> */}
  //     {/* <Brother1 /> */}
  //     {/* <Brother2 /> */}
  //     {/* <Child1 /> */}
  //     {/* <Child2 /> */}
  //     {/* <Index /> */}
  //     {/* <UseRefDemo /> */}
  //     {/* <UseTransition /> */}
  //     {/* <UseDeferredValue /> */}
  //     <Index />
  //   </div>
  // )
  return <RouterProvider router={router} />
}

export default App
